package week7.homework;

import sun.awt.SunHints;

public class MonctaryCoin extends Coin {
    private double Value;
    private double []number={0.1,0.5,1};

    public MonctaryCoin()
    {
        flip();
    }
    public double getValue(int a)//0<=a<=2
    {
        return number [a];
        }
}
